package controller;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;

import model.ContactListModel;
import model.SaveModel;
import view.AddWindow;
import view.MainWindow;

/**
 * Redirect to the model which add the new contact
 * @author Marie Morin
 *
 */
public class AddController implements ActionListener{
	
	private MainWindow w;
	
	public AddController(MainWindow w){
		
		this.w = w ;		
	}

	/**
	 * Call the view to display the window which allow the user to add a new contact
	 */
	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		
		AddWindow add = new AddWindow(w);
		
	}

}
